package com.hn.project.rqinspect.service.impl;

import com.hn.project.rqinspect.domain.database.UserBranch;
import com.hn.project.rqinspect.mapper.UserBranchMapper;
import com.hn.project.rqinspect.service.UserBranchService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserBranchServiceImpl implements UserBranchService {

    @Resource
    private UserBranchMapper userBranchMapper;

    @Override
    public List<Integer> listBranchIdsByUserId(Integer userId) {
        return userBranchMapper.listBranchIdsByUserId(userId);
    }
}
